package com.jmp.api.admin.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class GoodsTypeListResponse {
    public List<Type> types;

    @Data
    @Builder
    public static class Type {
        private Integer goodstypeId;
        private String name;
        private String groupName;
        private Integer parentId;
        private Integer goodsNum;
        private Integer dealNum;
        private String photo;

        private List<Type> children;
        private boolean hasChildren;
    }
}
